package com.yf.utils;

public class GeneratorUtils {

    public static void main(String[] args) {

       /*try{
            GenUtils.directGeneratorCode(
                    "jdbc:mysql://localhost:3306/yf?autoReconnect=true&useSSL=false&serverTimezone=UTC",
                    "root",
                    "mysql",
                    "C:/Users/Administrator/Desktop/yfCode/yfCode.zip",
                    null
            );
        }catch (Exception e){
            e.printStackTrace();
        }*/

        try{
            GenUtils.directGeneratorCode(
                    "jdbc:mysql://localhost:3306/zhishantang?autoReconnect=true&useSSL=false&serverTimezone=UTC",
                    "root",
                    "1220",
                    "D:\\www\\autoCode\\notice.zip",
                    "notice"
            );
        }catch (Exception e){
            e.printStackTrace();
        }

        /*try{
            GenUtils.directGeneratorCode(
                    "jdbc:mysql://localhost:3306/new_hlg?autoReconnect=true&useSSL=false&serverTimezone=UTC",
                    "root",
                    "mysql",
                    "C:/Users/Administrator/Desktop/hlgCode/hlgCode.zip",
                    null
            );
        }catch (Exception e){
            e.printStackTrace();
        }*/

    }

}
